package com.vhall.component.entity.pendant.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author guoxin.wang
 * @date 2021/11/01
 */
@Data
public class PendantClickReportReqVO implements Serializable {

    private static final long serialVersionUID = -3032780732049732028L;

    /**
     * 房间id，后端根据房间id获取创建人id来实现逻辑
     */
    @NotBlank(message = "room_id参数不允许为空")
    @ParamName("room_id")
    @JsonProperty("room_id")
    private String roomId;

    /**
     * 挂件id
     */
    @NotNull(message = "pendant_id参数不允许为空")
    @ParamName("pendant_id")
    @JsonProperty("pendant_id")
    private Integer pendantId;

}
